package com.geovis.emergency.spd.entity.basic.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * <p>
 *  共享文档修改DTO
 * </p>
 *
 * @author Lonsho
 * @version 1.0
 * @date 2022/7/12
 */
@Data
@ApiModel(value = "BasicShareDocUpdateDTO对象", description = "共享文档修改DTO")
public class BasicShareDocUpdateDTO {

    /**
     * 主键id
     */
    @NotNull(message = "主键id不能为空")
    @ApiModelProperty(value = "主键id", required = true)
    private String id;

    /**
     * 文件名
     */
    @NotBlank(message = "文件名不能为空")
    @ApiModelProperty(value = "文件名", required = true)
    private String fileName;
}
